// 配置通用参数
export const commonParams = {
    g_tk: 5381,
    inCharset: 'utf-8',
    outCharset: 'utf-8',
    needNewCode: 0,
    notice: 0,
    format: 'jsonp'
}

// 通用的option
export const options = {
    param: 'jsonpCallback'
}

// 返回正常的code
export const ERR_OK = 0

const urlMap = {
    development: '/',
    production: '/' // 'http://josh-mmc.club/qq-music/'
}

export const baseUrl = urlMap[process.env.NODE_ENV]
